package com.example.myFirstProject;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping(value="/test1")
public class TestController1 {
	
	@RequestMapping("/test1")
	@ResponseBody
	public String test1() {
		return "test1 ok";
	}

	@RequestMapping("/test2")
	@ResponseBody
	public String test2() {
		return "test2 ok";
	}
}
